package com.sanshi.project.assets.service;

import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.sanshi.project.admin.api.entity.CodeRuleEntity;
import com.sanshi.project.common.core.util.R;

public interface CodeRuleService extends MPJDeepService<CodeRuleEntity> {
    Boolean saveDeep(CodeRuleEntity codeRule);

    Boolean updateDeep(CodeRuleEntity codeRule);

    Boolean removeDeep(Long[] ids);

    Boolean removeChild(Long[] ids);

    R<String> generateCode(CodeRuleEntity codeRule);

}